
stu_id = [10001,10002,10003,10004,10008,10001,10009,10010,10001]

# 1. copy()很重要
# 思考，赋值是真正的复制么？ 赋值(=) <=> copy? 不等价
stu_id_matedata = stu_id
print("stu_id:",stu_id,'\n','stu_id_matedata:',stu_id_matedata)

# 实验 1 赋值
# stu_id.pop(1)
# print("stu_id:",stu_id,'\n','stu_id_matedata:',stu_id_matedata)

# 实验2 copy()
# stu_id_matedata = stu_id.copy()
# stu_id.pop(1)
# print("stu_id:",stu_id,'\n','stu_id_matedata:',stu_id_matedata)

# 实验3 切片实现复制
stu_id_matedata = stu_id[:]
stu_id.pop(1)
print("stu_id:",stu_id,'\n','stu_id_matedata:',stu_id_matedata)

a = [1,2,3]
b = [4,6,6]
a+b
[1,2,3,4,5,6]
first_name = "zeng"
last_name = "zihao"
f
finally: for from        first_name     format( f  ilter(     float(     frozzenset(
first_name + last_name =

